package cn.goktech.sports.modules.contentManage.dao;

import cn.goktech.sports.modules.contentManage.entity.MessageEntity;
import cn.goktech.sports.modules.sys.dao.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 消息内容表
 *
 * @author duanyu<>
 */
@Mapper
public interface MessageMapper extends BaseMapper<MessageEntity> {

	/**
	 * 根据业务类型id获取消息列表
	 *
	 * @param businessId
	 * @return
	 */
	List<MessageEntity> listByBusinessId(Long businessId);
}
